﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace BCGM.MedicalWisdom.Model.Models
{
    ///<summary>
    ///地区表
    ///</summary>
    [SugarTable( "Area", "WMBLOG_MYSQL")]
    public class Area
    {
           public Area()
           {
           }
           /// <summary>
           /// Desc:地区主键
           /// Default:
           /// Nullable:False
           /// </summary>
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int AreaId { get; set; }
           /// <summary>
           /// Desc:地址名称
           /// Default:
           /// Nullable:True
           /// </summary>
           public string AreaName { get; set; }
           /// <summary>
           /// Desc:父级id
           /// Default:
           /// Nullable:True
           /// </summary>
           public int? Pid { get; set; }
           /// <summary>
           /// Desc:创建人
           /// Default:
           /// Nullable:True
           /// </summary>
           public int? Createdby { get; set; }
           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:False
           /// </summary>
           public DateTime CreateTime { get; set; }
           /// <summary>
           /// Desc:更新人
           /// Default:
           /// Nullable:True
           /// </summary>
           public int? Updatedby { get; set; }
           /// <summary>
           /// Desc:更新时间
           /// Default:
           /// Nullable:False
           /// </summary>
           public DateTime UpdatedTime { get; set; }
           /// <summary>
           /// Desc:删除人
           /// Default:
           /// Nullable:True
           /// </summary>
           public int? Deletedby { get; set; }
           /// <summary>
           /// Desc:删除时间
           /// Default:
           /// Nullable:False
           /// </summary>
           public DateTime DeletedTime { get; set; }
           /// <summary>
           /// Desc:逻辑删除
           /// Default:
           /// Nullable:True
           /// </summary>
           public bool IsDeleted { get; set; }
    }
}